package org.andengine.shmup;

import java.util.List;

import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

@Root (name = "game")
public class GameContainer {
	
	@ElementList (inline = true)
	private List<Level> levels;
	
	public List<Level> getLevels(){
		return levels;
	}
	
	public Level getLevel(int i){
		return levels.get(i);
	}
	public String toString(){
		String out = "";
		for(Level l : levels)
			out += l.toString() + "\n";
		return out;
	}
}
